<%@ page language="java" import="java.util.*,Reservation.*,Application.Dao.*,DomainData.*"%>

<%
response.setContentType("text/xml");
response.setHeader("Cache-Control", "no-store"); //HTTP1.1
response.setHeader("Pragma", "no-cache"); //HTTP1.0
response.setDateHeader("Expires", 0); //prevents catching at proxy server
int id=Integer.parseInt(request.getParameter("id"));


ReviewDao.removeReview(id);
System.out.println("removed review #"+id);
%>